<tagLib name="lbase"/>
<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <title>微信公众平台管理系统</title>
        <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta name="description" content="">
        <meta name="author" content="">
    <include file="Public:header" />
    <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="__PUBLIC__/js/html5.js"></script>
    <![endif]-->
</head>

<!--[if lt IE 7 ]> <body class="ie ie6"> <![endif]-->
<!--[if IE 7 ]> <body class="ie ie7 "> <![endif]-->
<!--[if IE 8 ]> <body class="ie ie8 "> <![endif]-->
<!--[if IE 9 ]> <body class="ie ie9 "> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> 
<body class="">
    <!--<![endif]-->

    <!--顶部菜单-->
<include file="Public:navbar" />

<!--左侧导航条-->
<include file="Public:nav" />

<!--右侧整体区域-->
<div class="content">
    <div class="container-fluid">
        <div class="row-fluid">
            <div class="row-fluid">
                <!--右侧栏目区域start-->
                <div class="block">
                    <a class="block-heading" data-toggle="collapse">服务器当前生效自定义菜单</a>
                    <div class="block-body collapse in">

                        <div class="container-fluid" style="margin-top: 10px;">
                            <!--右侧栏目内容区域start-->
                            <div class="row">
                                <div class="span12">
                                    <div class="pull-left">
                                        <a href="{:U('/'.$module_name)}" class="btn btn-primary">列 表</a>&nbsp;&nbsp;
                                        <a class="btn btn-primary" href="{$pre_url}">返 回</a>
                                    </div>
                                </div>
                                <!--右侧字段区域start-->
                                <style type="text/css">
                                    li{list-style: none;height: 30px;}
                                    li span{margin-left: 20px}
                                    li.submenu{margin-left: 25px;}
                                </style>
                                <div class="span12" style="margin-top:10px;">
                                                              <php>
                                                                  if(!is_null($data['errcode'])){
                                                                  echo $data['errcode'].':'.$data['errmsg'];
                                                                  }
                                                              </php>
                                                              <ul>
                                                                  <php>
                                                                      foreach($data['menu']['button'] as $key=>$value){
                                                                      echo '<li><b>'.$value['name'].'</b>';
                                                                          if(!is_null($value['key'])) echo '<span>KEY:'.$value['key'].'</span>';
                                                                          echo '</li>';
                                                                      foreach($value['sub_button'] as $key_sub=>$value_sub){
                                                                      echo '<li class="submenu">'.$value_sub['name'].'<span>KEY:'.$value_sub['key'].'</span></li>';
                                                                      }
                                                                      }
                                                                  </php>
                                                              </ul>
                                                          </div>
                                                          <!--右侧字段区域end-->
                                </div>
                                <!--右侧栏目内容区域end-->
                            </div>

                        </div>
                    </div>
                    <!--右侧栏目区域end-->
                </div>
                <footer>
                    <include file="Public:footer" />
                </footer>
            </div>
        </div>
    </div>
    <script type="text/javascript" src="__PUBLIC__/js/add_none_editor.js"></script>
</body>
</html>


